<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmOrdenDePagoABM.aspx.vb" Inherits="TGB.FrmOrdenDePagoABM" 
    title="Administracion de Ordenes de Pago" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel4" runat="server" Height="13px" Style="width: 100%; background-color: #ccccff;
        text-align: center" Width="295px">
       <asp:LinkButton ID="LnkOrdenes" runat="server" Font-Names="Calibri" Font-Size="14px"
           Font-Underline="False" Style="letter-spacing: 3px; text-decoration: underline overline"
           TabIndex="3">Listado de Ordenes de Pago</asp:LinkButton>
        /<asp:LinkButton ID="LinkNuevo"
               runat="server" Font-Names="Calibri" Font-Size="14px" Font-Underline="False" Style="letter-spacing: 3px;
               text-decoration: underline overline" TabIndex="3">Nueva Orden de Pago</asp:LinkButton></asp:Panel>
    <hr /> 
    <asp:Panel ID="Panel2" runat="server" Height="272px" Style="width: 100%; background-color: #efefef;
        text-align: center; height: 100%;" Width="125px">
        <asp:Panel ID="Panel3" runat="server" CssClass="campotxt" Height="17px" Style="width: 100%;
            text-align: right" Width="125px">
            <asp:Label ID="Label6" runat="server" CssClass="campotxt" Font-Bold="True" Text="Fecha :" BorderStyle="None"></asp:Label><asp:Label ID="LblFecha" runat="server" CssClass="campotxt" Font-Bold="True"
                    Text="DD/MM/AAAA" BorderStyle="None"></asp:Label></asp:Panel>
        <table>
            <tr>
                <td style="width: 88px; height: 19px; text-align: left" class="tabla">
                <asp:Label ID="LblProveedor" runat="server" Font-Bold="True" Text="Proveedor :"></asp:Label></td>
                <td style="width: 385px; height: 19px; text-align: left;">
                            <asp:DropDownList ID="CboProveedor" runat="server" AppendDataBoundItems="True" CssClass="campotxt"
                                Width="100%" AutoPostBack="True">
                            </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 88px; text-align: left">
                <asp:Label ID="Label3" runat="server" Text="Observacion :" Font-Bold="True" CssClass="tabla"></asp:Label></td>
                <td style="width: 385px; text-align: left; vertical-align: top;" rowspan="2">
                <asp:TextBox ID="TxtObservacion" runat="server" CssClass="campotxt" TabIndex="6" Width="99%" Height="14px" MaxLength="100" Font-Size="11px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 88px; height: 20px;">
                </td>
            </tr>
        </table>
        <br />
                <asp:Label ID="Label4" runat="server" Text="Facturas de la Orden de Pago" Width="100%" style="font-weight: bold; font-size: 14px; vertical-align: middle; font-family: Calibri; background-color: #ff3333; text-align: center" Height="24px"></asp:Label>
        <table class="tabla" style="width: 623px">
            <tr>
                <td style="width: 63px; text-align: left; height: 20px;">
                            <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="Factura :"></asp:Label></td>
                <td style="text-align: left; width: 474px; height: 20px;">
                <asp:DropDownList ID="CboFacturas" runat="server" CssClass="campotxt" Width="100%" TabIndex="7" AppendDataBoundItems="True">
                    <asp:ListItem Value="-1">Seleccione un Concepto</asp:ListItem>
                </asp:DropDownList></td>
                <td style="text-align: left; height: 20px; width: 175px;">
                <asp:LinkButton ID="LinkAgregar" runat="server" TabIndex="10">Agregar</asp:LinkButton>
                    /
                    <asp:LinkButton ID="LnkMasInfo" runat="server" CssClass="campolnk">Mas Informacion</asp:LinkButton></td>
            </tr>
        </table>
        <asp:Label ID="LblError" runat="server" Width="100%" Font-Bold="True" Font-Names="Calibri" Font-Overline="False" Font-Size="13px" Font-Strikeout="False" Font-Underline="False" ForeColor="Red" style="text-align: center"></asp:Label>
        <asp:GridView ID="GridFacturas" runat="server" AutoGenerateColumns="False" Width="744px" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Horizontal" CellSpacing="1" CssClass="tabla">
                    <Columns>
                        <asp:TemplateField HeaderText="Factura">
                            <ItemTemplate>
                                <asp:Label ID="LblNumeroFactura" runat="server" Text='<%# Bind("Numero") %>'></asp:Label>
                                <asp:HiddenField ID="HFIdFactura" runat="server" Value='<%# Bind("CodigoFactura") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="IVA">
                            <ItemTemplate>
                                <asp:Label ID="LblIVA" runat="server" Text='<%# Bind("Iva") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Total">
                            <ItemTemplate>
                                <asp:Label ID="LblTotal" runat="server" Text='<%# Bind("Total") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:LinkButton ID="LnkRemover" runat="server" CommandName="Remover">Remover</asp:LinkButton>
                                /
                                <asp:LinkButton ID="LnkMasInformacion" runat="server" CommandName="MasInformacion">Mas Informacion</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                    <RowStyle HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                    <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" />
                </asp:GridView>
        <asp:Panel ID="Panel5" runat="server" Height="34px" Style="width: 100%; background-color: transparent;
            text-align: right" Width="125px">
            <br />
            <asp:Label ID="Label5" runat="server" Font-Bold="True" Text="Total :" CssClass="tabla"></asp:Label>
                <asp:Label ID="LblTotal" runat="server" Font-Bold="True" ForeColor="Red" Text="0,00" CssClass="tabla"></asp:Label>
            <br />
            <asp:LinkButton ID="LnkImputacion" runat="server" TabIndex="11" CssClass="tabla">Carga Imputacion</asp:LinkButton>
            /
            <asp:LinkButton ID="LinkGuardar" runat="server" CssClass="tabla" TabIndex="11">Guardar</asp:LinkButton>
            / <asp:LinkButton ID="LinkCancelar" runat="server" TabIndex="13" CssClass="tabla">Cancelar</asp:LinkButton>
    <br />                

        </asp:Panel>
        <asp:LinkButton ID="BtnImprimir" runat="server" CssClass="tabla" TabIndex="11">Imprimir Orden de Pago</asp:LinkButton></asp:Panel>
</asp:Content>
